package cn.tedu.hotel.serve.service;


import cn.tedu.hotel.serve.pojo.dto.HotelIndexBannerDTO;
import cn.tedu.hotel.serve.pojo.dto.HotelScoreDTO;
import cn.tedu.hotel.serve.pojo.vo.HotelIndexBannerVO;
import cn.tedu.hotel.serve.pojo.vo.HotelOrdersCountInfoVO;
import cn.tedu.hotel.serve.pojo.vo.HotelOrdersCountVO;
import cn.tedu.hotel.serve.pojo.vo.HotelScoreVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelIndexService {
    double BASE_SCORE=5.00;

    void addHotelIndexBanner(HotelIndexBannerDTO hotelIndexBannerDTO);

    List<HotelIndexBannerVO> getAdminHotelIndexBannerList();

    void deleteAdminHotelIndexBanner(Long id);

    void updateAdminHotelIndexBannerById(Long id,HotelIndexBannerDTO hotelIndexBannerDTO);

    List<HotelOrdersCountInfoVO> getHotelOrderCountList();
}
